package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO struct {
	/*
	   品牌授权商openid     */
	BrandLicensorOpenId *string `json:"brand_licensor_open_id,omitempty" `

	/*
	   备件申请单id     */
	SparePartsApplicationId *int64 `json:"spare_parts_application_id,omitempty" `

	/*
	   服务商openid     */
	SupplierOpenId *string `json:"supplier_open_id,omitempty" `

	/*
	   备件出库时间     */
	SparePartsOutTime *util.LocalTime `json:"spare_parts_out_time,omitempty" `
}

func (s *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO) SetBrandLicensorOpenId(v string) *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO {
	s.BrandLicensorOpenId = &v
	return s
}
func (s *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO) SetSparePartsApplicationId(v int64) *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO {
	s.SparePartsApplicationId = &v
	return s
}
func (s *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO) SetSupplierOpenId(v string) *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO {
	s.SupplierOpenId = &v
	return s
}
func (s *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO) SetSparePartsOutTime(v util.LocalTime) *AlibabaTmallSparepartsDetailsCreateApplicationInfoDTO {
	s.SparePartsOutTime = &v
	return s
}
